
// 全局方法

import { mergeOptions } from '../utils/index.js'
export function initGlobApi(Vue) {
  //{created:[a,b,c],mounted:[d,e,f]}
  Vue.options = {}
  Vue.Mixin = function (mixin) {
    //对象的合并 
    Vue.options = mergeOptions(this.options || {}, mixin)
  }
}